Xbasic

A5.UDF_ENUM Function

Syntax

A5.Udf_Enum(C lastname|N object_enum_flags)

Script_List as C = A5.UDF_ENUM( [ object_enum_flags as N ] )

Next_Script_Name as C = A5.UDF_ENUM( lastname as C )

Arguments

Script_List

A list of scripts in various formats, depending on the Flag variable.

Next_Script_Name

The next script in the list of scripts.

object_enum_flags

Optional. Default = Null.

Null = Script name, full path, and filename.
2 = Script name
4 = Object type, script name, full path, and filename
8 = Quoted script name, full path, and filename.
12 = Object type, quoted script name, full path, and filename formatted for tree control.
lastname

The quoted name of a script.

Description

The A5.UDF_ENUM() method returns a CR-LF delimited list of all user defined functions (UDFs) in the database.

Example

Refer to A5 Enumeration Methods.

See Also